fix meaning of ack
add sleep to enforce sensible packet send rate
split data to enforce small maximum packet sizes
add sensible comments
add useful logging on seq, ack and rpc data
remove less useful logging