Fix proxy bug where it is confused by gzip encoding
Merge pull request #2989 from lavalamp/fix6

Fix proxy bug where it lies about encoding