make the chunking and ack logic simplified and compatible w/ c
ver 0.0.12