5. Lifecycle and capability negotiation
Handle initialization, protocol-version agreement, capability declarations, readiness notifications, health checks, and orderly connection closure. Detect incompatible peers without leaving a session in an uncertain state.