docs: public static int minimumRequestSize(Request request) {
  
      // Header and payload are common inside a Frame at the protocol level
  
      // Frame header has a fixed size of 9 for protocol version >= V3, which includes Frame flags
      // size
      int size = FrameCodec.headerEncodedSize();
  
      if (!request.getCustomPayload().isEmpty()) {
        // Custom payload is not supported in v3, but assume user won't have a custom payload set if
        // they use this version
        size += PrimitiveSizes.sizeOfBytesMap(request.getCustomPayload());
      }
  
      return size;
    }