Validate URL protocol and redirect HTTPS URLs to the origin server.
Validate URL protocol and redirect HTTPS URLs to the origin server.

Camo can encounter HTTPS URLs if a HTTP URL redirects to HTTPS.  It
previously ignored the protocol and requested as HTTP anyway. This meant
it repeatedly made the same request because it ignored the redirect.

This also avoids attempting to follow URLs with protocols other than
HTTP and HTTPS.

missive/camo,mozilla/mozillawebmakerproxy.net,grosser/camo,Course-Master/camo,espadrine/camo,atmos/camo,Course-Master/camo,digideskio/camo