Each connection is very simple: all the data is sent back (it's an "echo" thing), except when one of the
three commands below is issued. A command is a single word written alone on its line. The three commands
are:
bye simply closes the current connection.
shutdown will stop the server as soon as all the open connections are closed. The server does not
accept any new connection.
halt closes all the open connections and shut the server down.