Merge pull request #6748 from spycrab/curl_timeout HttpRequest/Curl: Use a more intelligent timeout method