Resolve the connection token for a context: the context's own token when it implements ConnectionScoped, otherwise the empty (shared) token. Centralised here so the server core has one place to derive the cancellation-registry scope.
Resolve the connection token for a context: the context's own token when it implements ConnectionScoped, otherwise the empty (shared) token. Centralised here so the server core has one place to derive the cancellation-registry scope.