Somewhat more informative error messages in curl_http_client()