Fixing failed_reconnect not showing.

Note this PR is staying open as merging into master will be rather dangerous since none of the previous PRs we pointed to seem to have merged in master. Therefore, KEEP THIS PR OPEN until we merge in master.

This should help fix a lot of the strange disconnect/reconnect issues that we've encountered. This fix will fix it so that the "failed_reconnect" event will properly be broadcasted. I've tested this fix locally and it works :+1: 

@mjpizz or @bdimcheff or @ncrohn It looks like we're currently using the branch git://github.com/olark/socket.io-client.git#fix-reconnect-loop in socket.io right now. So should I merge this into there?