Vary on X-Forwarded-Proto for changing-protocol redirects

Same idea as in Ie6dc9da4.

Change-Id: Ie7ad1eff74fbadce04d11e92ab30d1d0b29f7426
Merge "Vary on X-Forwarded-Proto for changing-protocol redirects"