Implementation of the v0.3 spec for the captive portal test