Code 511 sounds really useful. If captive portals actually implemented this, it would help efforts like Convergence[1] to handle captive portals gracefully, rather than having to play a heuristic guessing game.
It'll be interesting to see if browser vendors and captive portal vendors both implement this, and what level of adoption they both reach.
[1] - http://convergence.io/