Handle SSLErrors during handshake