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