Proxy settings and cURL implementation supporting proxy tunneling