iOS Captive portal fix