Added better logging to proxy_request