EchoServer based on ChatServer, appending strings to output

You should probably check for the return key also. They are normally sent as a pair.

if(thisChar == '\n') server.println(" +OK");
if(thisChar != '\r') server.print(thisChar);

This way the CR/LF is sent by the server.println() command.