Use AddrInfo to represent local and remote address on the socket