Stateserver: Updated StateServer.cpp and tests to use new message types.
Build: Successful.
Tests: Pass.
Notes: Need to update existing tests and add new tests to match protocol changes.