Add a test mode (invoked with -t) for testing the stub. In this mode,
reporting does not start until the first quanta in which traffic is recieved, and exits when the number of bytes in a quanta goes back down to zero. Also change quanta to 500ms, as suggested by Jon.
Showing with 58 additions and 6 deletions