Safety assert for Endpoint::listen.
Implemented the named endpoint.