Code shim to simplify writing WebSocket-driven apps with the KAAZING Gateway, JMS edition.