Migrated changes for better suite of error messages in pkt handling into common.scm (changes were accidentally made in v1.64).