passing @socket.peeraddr for addrinfo