Serializes endpoint information into a socket_address instance.
Reimplemented in xtd::net::ip_end_point.