* [TE] Harden TCP transport: validate remote addresses, fix idle cleanup, add TCP_NODELAY
Fixes#2313
1. Security: ServerSession now validates remote-supplied memory addresses
against registered local buffers before use, preventing arbitrary
memory read/write from malicious peers.
2. Performance: Set TCP_NODELAY on all server-accept and client-connect
paths to eliminate Nagle-induced latency on small control messages.
3. Correctness: Call io_context.restart() after exception in worker loop
to prevent busy-spin when io_context enters stopped state.
4. Correctness: Fix cleanupIdleConnections to scan the full deque instead
of only the back, so idle connections anywhere in the pool get cleaned.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [TE] Fix clang-format violations in TCP transport
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>