Added functionality to send message from server to client. There is an issued with the connection not closing properly.