Substituted IOException by SSLHandshakeException.

In getStringFromProvider, there is no IOException but an
SSLHandshakeException. Substituing this gives our code more semantics.