Added sequence number checking to server.