net: makesock_addrinfo(): Make socketfd local to the loop.