einaros/ws — pull request #272 by talrasha007 (2013-12-08 07:53:38+00:00)
Title: fix Origin request options.

some server will return 403 if Origin header is not a url.

here's the sample code that have the issue.

var WebSocket = require('ws'),
ws = new WebSocket('wss://websocket.mtgox.com/mtgox?Currency=USD');

ws.on('message', function() { console.log(arguments); });