Mitigating Denial-of-Service Attacks in Mobile Ad Hoc Networks using Network Capabilities