format_packet(), decode_packet(), hton() in progress