WAQM: managing QoS in wireless networks by means of an XML-based multi-agent system