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