net: add remoteFamily for socket