Fix a bug in caching cross-protocol redirects.
Merge pull request #217 from square/jwilson/http_to_https_redirect_and_caching

Fix a bug in caching cross-protocol redirects.