cleared all pre-existing event handlers on old sockets.
Putting in a hacky fix for this onclose thing
forgot to build; here are the files
Fixing reconnect issue. Patch is from: https://github.com/LearnBoost/socket.io-client/pull/516/files
Merging in nicks fix on close branch.
Merge pull request #1 from tunespeak/fix.reconnection

Fix.reconnection