Packet Parsing is hard. Wrote routines to convert to binary, left pad and changed encoding