docs: protected void consumeChar(ImapRequestLineReader request, char expected)
              throws ProtocolException {
          char consumed = request.consume();
          if (consumed != expected) {
              throw new ProtocolException("Expected:'" + expected + "' found:'" + consumed + '\'');
          }
      }