Testing if this will work.

OK -- I duplicated some code into a flowlib function to try to make it a library with different main functions doing the actual work.  I made a tiny start on the packed flow representation -- a flow is represented by the lead packet header, time, ack, seq diffs and flags.