A self-repairing tree overlay enabling content-based routing in mobile ad hoc networks