Update Connection.js

once the reconnection is finished successfully, is it not better to emit a 'ready' event?
other guys can listen to this event result to know the connection is back.
Update Connection.js

easy to catch these events from other places as well
Merge pull request #1 from sula678/patch-1

Update Connection.js