Demo is now able to establish a socket and receive protocol messages from the server.