code: public MessageProtocol withContentType(String contentType) {
          return new MessageProtocol(Optional.ofNullable(contentType), charset, version);
      }
docs: Return a copy of this message protocol with the content type set to the given content type.
  
  @param contentType The content type to set.
  @return A copy of this message protocol.