When the connection to the server or the client goes away, and we're in the middle of a method call, it would be nice to be notified of that somehow (and then eg. cancel your ongoing action in a varlink server).
Currently there's no way to be notified of that early, and instead after the method call, reading the socket will return EOF.
Maybe there could be a API to get a CancellationToken on the ZlinkConnection?