reference, rather than const reference and value as was previously done.
Also change the queue semantics to return the packet on a deque, rather
than requiring a packet as a parameter. The problem with the original
approach was that packet UID's were getting skipped. The fix handles
the uid properly, and we get sequential packet uid's on the trace file.