Added port field to the client struct, and changed name server to use getnameinfo to get ip addr and port