Implement proxy variables for curl_setopt (part 2)

Linked with https://github.com/simplepie/simplepie/pull/359