Program of a multithreaded server using java thread and a client that can monitor server's message and user's input