add proxy configuration

This adds the ability to use this script behind a http proxy and to configure it

Basically it adds the exports http_proxy, ... and creating the .curlrc with the content
proxy = myproxy:myport

This is needed by almost anything from the aur. (yaourt using curl, usw.)