Added simple captive portal support