Add HTTPS support

Following up where #83 left off. Added HHVM support.