reconnect functionality tweaks
Merge pull request #18 from Retsly/slajax/reconnect

Improve reconnection of socket.io