Support for https://localhost on iOS

Don't know for sure either.  I'm okay with the existing approach.