Established communication between client and server, verified that the server sent the correct json string to the client.