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