added singleton configurator for websocket-endpoint