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