Get the remote endpoint.
endpoint_type remote_endpoint( const implementation_type & impl, asio::error_code & ec) const;