Fix for requests behind proxies.