Https fixes