start of control messages and packaging code for wire form messages