public WebSocketServerHandler(IWebSocketServer server)
 {
     _server = server.NotNull(nameof(server));
     _logger = server.LoggerFactory.CreateLogger <WebSocketServerHandler>();
 }