adding an onError event listener and on connect to know when reconnected
add the raw connection to the error callback

so that end users can listen for on ready/connect
and run their own logic if something bad happens
Merge pull request #1842 from danjenkins/socketio-redis-error

Socketio redis error