See https://github.com/ably/specification/pull/335#discussion_r2144623399 and https://github.com/ably/specification/pull/353/files#r2228017382