Clean up.
Add end_session() implementation.
Limit JB queue size.
To produce JB output simply dequeue one packet for now.

@todo Should strip-off timing information from empty packets.
Sketch-up simulated transmission test.