Added some basic support for PubSub queries over WebSockets