Fix for requests behind proxies and debugging info.