A rewrite of the Resonance Network Access Control app using PoX