Helper for parsing custom protocol PDUs over UDP