sloproxy

feat(home): add NewLifetime method and improve reconnect failover handling master

- Introduced `NewLifetime` to create fresh `Client` instances while maintaining cluster failover state. - Enhanced reconnect failure tracking with `markReconnectFailure` conditions for various connection stages. - Reset reconnect failure counter on successful reconnections to ensure stable client behavior. - Updated tests to verify failover mechanics, subscription handling, and heartbeat recovery scenarios. - Improved lifetime management in `service_home` with reuse of `previousClient` for seamless client transitions.


+108 -2
3 changed files