Use CCNL_MAX_PACKET_SIZE for max packet size
Handle case if debug dump is longer than max packet length. Print error msg