adjusting for some changes in http-proxy