Shared: Moving StateObject.cs to Shared project.

Client: Adding test client connection in AsynchronousClient.cs.