Using SockJS.OPEN instead of WebSocket.OPEN to avoid issues in browsers that do not define the WebSocket obj