Treat failing to connect using ssl module as a "connection step failure"

This change was needed to capture this failure in the tests. So far
such a failure wasn't propagated outside the process handling
the connection.
Merge pull request #45 from esl/secured_connections

Treat failing to connect using ssl module as a "connection step failure"