fixed hr_ssl_clear_errors