Preventing OS X / iOS captive portal popup altogether