Remove content-length header when proxy is used

Otherwise the content-length won't be correct after injecting the snippet,
causing the snippet to be truncated (unless you add enough padding at the end
of the original html file).
Fix content-length w/o transfer-encoding: chunked