docs: public void setProtocolString(String protocolString) {
      this.protocolString = protocolString;
      if (protocolString != null) {
        try {
          this.stringLength = protocolString.getBytes("US-ASCII").length;
        } catch (UnsupportedEncodingException uee) {
          this.stringLength = 0;
          log.error("Couldn't encode to US-ASCII.", uee);
        }
      } else {
        this.stringLength = 0;
      }
    }