Changed to strip transfer-encoding, since it's defeated by the proxying