proxy: Fix regression caused by http-proxy upgrade

Closes #38