This pull request contains a bunch of client improvements and fixes:
1) Use Websocket Ping/Pong frames to find broken connections
2) Add proper support for private channel subscription - with callback on every attempt to subscribe to private chanel
3) Fix null pointer dereference when sending requests while client disconnected - throw ClientDisconnectedError in this case
This pull request contains a bunch of client improvements and fixes: 1) Use Websocket Ping/Pong frames to find broken connections 2) Add proper support for private channel subscription - with callback on every attempt to subscribe to private chanel 3) Fix null pointer dereference when sending requests while client disconnected - throw
ClientDisconnectedError
in this case