Quality of service and security in wireless and mobile networks