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