Use host HTTP(S) and FTP proxy settings.

This way the image may be built on hosts behind HTTP(S)/FTP proxies.