Support for https://localhost on iOS