Added proxy support for metadata download

Fixes #74