HTTPS support

I'm just going to assume you did this right. :P