Investigate shared_ptr cycles.
Rearrange helper functions.
Send regular data packets on attached stream.
Dump packet info after rebuilding the header.