Replace content-type and content-length headers with uppercased variants