A websockets client with pub/sub pattern for communicating with XSockets.NET platform