Added: more diagnostics output on TCP framing error.