Let photon handle https images.

Closes #1808 
Includes a new test.
cc @koke cos I recall you were interested in photon supporting https. 
I'm not sure if `://` could happen somewhere else on the URL. `range.location` should be equivalent to `url.scheme.length + 3`