Add stub decoder implementation
Update encoder metadata to reflect number of src pkts encoded by stream
Add a few helper functions for dealing with packets in decode loop
Add packet size to metadata in `encode` stream
Add more convenience functions to decoder