Fix proxy bug where it lies about encoding