Fix AsyncSSLSocket handshake error reporting.