Init _isReconnecting state to false

This makes the calls to the connection callback more consistent.
Pass socket errors occurring on connection to connection callback
Merge pull request #49 from nnevala/handle-econnrefused

Handle socket errors occurring before connection is established