Https fix.

Same as https://codereview.chromium.org/12601005/