[fix] apigenlib:  read_packet_prefixed bug fix.  Heavy debug.