better ensure support for https vhosts