Add proxy support to fetch_deps.