public WebsocketHandlerMiddleware(
     RequestDelegate next,
     ILoggerFactory loggerFactory
     )
 {
     _next   = next;
     _logger = loggerFactory.
               CreateLogger <WebsocketHandlerMiddleware>();
     _websocketCollection = WebsocketCollection.Instance;
 }