hector-client/hector — pull request #556 by thobbs (2012-11-10 02:32:56+00:00)
Title: Avoid trying to open the socket twice when using SSL

I'm not sure how this ever worked in the case where SSL was enabled *and* the SSL connection succeeded.

What I did was just the most basic way to fix the problem; feel free to handle it in a more sophisticated way.