cURL implementation.