simple HTTP proxy support

Our production machines can only make HTTP connections through a proxy server, so I added a parameter to the main and download classes that can be used to set curl's `--proxy` argument.