Internal rewrite of keepalive implementation; no functional changes.
Authored by: lisias21 2026-01-29
Parent: [r48]
Child: [r50]