Don't attempt reconnect on auth errors

When connection fails, DefaultConnectionFactory shouldn't try to
reconnect if the failure was due to an authentication error (e.g. client
presented incorrect SSL certificate)
Merge pull request #6 from cocowalla/master

 Don't attempt automatic reconnect on auth errors