Updating _curl_req() function

Using HttpClient now.