Added makeSYNPacket and makeTRMPacket private methods