Hack in https support