Added state smoothing capabilities and lag simulation in mock connection. Changed the state sequence number to a time updated