Switched to curl_httpclient