Add proxy support

Hello,

This fixes issue https://github.com/c9s/phpbrew/issues/202 for me.

Inspired from http://stackoverflow.com/questions/1336262/file-get-contents-behind-a-proxy