new hexdump(s) and hexundump(s,sz) lib functions
functions to set data inside an allocated packet, and to create a packet from a string of data.
creates a packet to be used on test