attach

fun attach(client: PeerId)

Record that client's packets now flow through this server: writes client → self into the replicated map, which gossips to the other servers. A newer attach (or detach) for the same client supersedes this one under last-writer-wins.