Handle client read errors in Run. Fix OB1 in GetNextTask(). Return -1 in Read() if status is failed.
Optimise printout in  strprintfIO.
Make heavily used functions inline. Add asserts for buffer size.