some fixes to WebSocketClient
v0.0.18