// Start listener thread
  @Override
  public void run() {

    Scanner sc = new Scanner(System.in);
    String command;
    String[] tokens;

    // Listen to stdin commands
    while (true) {
      command = sc.nextLine();
      System.out.println("[Shell Debug]: command: \"" + command + "\"");
      tokens = command.split(StreamingClient.DELIM);

      switch (tokens[0]) {
        case "help":
          System.out.println("Commands: ");
          System.out.println("\thelp - display this message");
          System.out.println(
              "\trequest <arg1> <arg2> ... (whitespace separated) - send a request to the server");
          System.out.println("\tclose - send a signal to close connection");
          System.out.println("\tclear - clear console");
          break;
        case "request": // Sends a request message
          break;
        case "close":
          StreamingClient.sendMessage("Close");
          StreamingClient.setConnected(false);
          return;
        case "clear":
          clear();
          break;
      }
    }
  }