avoid SSL_get_error call if SSL_connect was successful