Mobile Ad Hoc Networks: Protocol Design and Implementation