TCC-2584 error handling for partial reads on block header length; split handling of received messages into separate thread.
TCC-2584 removed defunct EventThread class