digital: wip: added a packet_sync block and a header_parser function to the header formatter.

The packet_sync block is like the correlate_access code except uses a packet formatter object to unpack the header and create data that can be sent along as a PDU.