LearnBoost/socket.io — pull request #725 by crickeys (2012-01-19 18:11:18+00:00)
Title: if using 'match origin protocol',occasional .match of undefined

If using 'match origin protocol' I've noticed occasionally that the origin will be null, in which case .match is called on something undefined and things break. This just makes sure origin is at least http and not null.