Check for HTTPS in server values to write https cache file
Merge pull request #7 from nobodyiscertain/master

Doesn't work with mixed http/https served sites