respect different proxy headers when building the request url, resolves #68