added handling for SSLHandshakeException