Fixed issue with proxying remote forges

Addresses #1. Queries were being proxied from remoted forges directly,
resulting in the original download paths being returned. We now modify
the download path to suit the proxy, not the remote forge.