Peer-to-Peer Overlay in Mobile Ad Hoc Networks