Pass headers to ProxyView endpoint; only dump POST data if it isn't already a str