public WebSocketTransport(IHttpClient client)
     : base(client, "webSockets")
 {
     _disconnectToken  = CancellationToken.None;
     ReconnectDelay    = TimeSpan.FromSeconds(2);
     _webSocketHandler = new ClientWebSocketHandler(this);
 }
 // intended for testing
 internal WebSocketTransport(ClientWebSocketHandler webSocketHandler)
     : this()
 {
     _webSocketHandler = webSocketHandler;
 }