net: add remoteFamily for socket

Add remoteFamily for the socket. Currently, can't get the client's IP family.