private String responseParser(String resp)
      throws IOException { // Check first digit of resp, take appropriate action.
    String digit1 = resp.substring(0, 1);
    if(digit1.equals("1")) {
      // server to act, then give response
      if(DEBUG) System.out.println("in 1 handler");
      // set pauser
      pauser = true;
      return resp;
    }
    else if(digit1.equals("2")) { // do usual handling
      if(DEBUG) System.out.println("in 2 handler");
      // reset pauser
      pauser = false;
      return resp;
    }
    else if(digit1.equals("3") || digit1.equals("4")
        || digit1.equals("5")) { // do usual handling
      if(DEBUG) System.out.println("in 3-4-5 handler");
      return resp;
    }
    else { // not covered, so return null
      return null;
    }
  }