Fixing cURL initialization for some hosts