bugfixes related to starting/stopping the server, and related to
HttpTransport and EndpointRegistry