pub(super) fn handle_register( state: &mut State, ctx: &Ctx, kind: ClientKind, pid: u32, version: String, ) -> Vec<Event>