Exporting HostAddr and SocketAddr structs.