Use new set_bitfield function to handle swapping endianness.
Initialize outgoing payload to 0.