Make Https resistant