Client can receive messages from server and GUI will send messages to server