Code for handling multiple frames per packet

Barely tested
2 files changed