Added support for download through proxy.

Added support for download though proxy, using default proxy credentials and configuration.