Added instrumentation to NameServerMain, TestSender. Removed sleep() call in TestReceiver so that it can compile without the new c++ standard.