[PATCH v6 4/5] server: Add a sequence number to the shared data.