I have managed to create a chat program where two clients can send and receive messages from each other. I am trying to improve it so that instead of the clients sending it to each other, the message is first sent to a server and then the server sends it to the client.