Fix proxy bug where it lies about encoding

or just a TODO?