Client server v2

Version 2 of the client server API.
Out of order events in general are not covered by this proposal.