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