Https support is complicated.