code: public void list() throws IOException {
          this.writer.println("+OK");
          this.writer.println("1 " + msg1.length());
          this.writer.println("2 " + msg2.length());
          this.println(".");
      }
docs: LIST command.
  
  @throws IOException
  unable to read/write to socket