[PATCH 12/23] PGPLIB: Basic packet parser