Originally created by Vasily Ivanov.
Currently DownloadSupport.download() opens connection with URL.openConnection() call which doesn't work behind HTTP (or other type) proxy. This is inconsistent with web driver behaviour which uses system proxy settings.
Optional support of proxy needs to be added in which case URL.openConnection(Proxy proxy) method should be used to open a connection via specified proxy.
WORKAROUND:
Set global system properties either via -D command line options or:
System.setProperty("https.proxyHost", "host")
System.setProperty("https.proxyPort", "8080")
see http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html for more proxy system properties