add functionality for server to receive a message from client