A non-equilibrium analysis and control framework for active queue management