meteor/meteor — pull request #120 by avital (2012-05-01 20:48:32+00:00)
Title: Proxy websocket requests into inner web server

One should now be able to connect to ws://localhost:3000/sockjs/websocket,
e.g. running the following code in the dev console of a locally running app:
> var sock = new WebSocket("ws://localhost:3000/sockjs/websocket")
> sock.onmessage = function(event) { console.log(event.data); }
> sock.send('{"msg": "connect"}');
{"msg":"connected","session":"ab887541-a4ac-4623-8778-a0c53e8f7fe6"}