Simple packet parser library