LearnBoost/socket.io-client — pull request #486 by szymonc (2012-10-31 08:41:37+00:00)
Title: Update lib/socket.js

The handshake method do not handle the situation when xhr status is equal 0.
This happens when the provided url dont give any response. When it happens also the error message is empty.
I would like to try to reconnect if the socket option 'reconnect' was set to true.

Changed methods:
Socket.prototype.handshake - handle case when xhr status 0
Socket.prototype.onError - handle new error when xhr status == 0