Added proxy support for metadata download