Fix proxy bug where it lies about encoding

TODO is fine.