r?s

* Added wrappers for maxDataLen to warn or return error
* Moved TFlushReply to worker ad FlushData