Add facility to wait for a certain number of messages to DeviceTestServer
WIP for an ioloop manager that can be shared between client and server implementations