Download HgPackages does not work with proxy

Issue #109 resolved