Refactored TransportSocketEndpoint_s.