Emulating mobile ad-hoc networks of hand-held devices: The OCTOPUS virtual environment