docs: public void setChannel(@Nonnull InputStream in, @Nonnull OutputStream out,
                             @CheckForNull OutputStream launchLog,
                             @CheckForNull Channel.Listener listener) throws IOException, InterruptedException {
          ChannelBuilder cb = new ChannelBuilder(nodeName,threadPoolForRemoting)
              .withMode(Channel.Mode.NEGOTIATE)
              .withHeaderStream(launchLog);
  
          for (ChannelConfigurator cc : ChannelConfigurator.all()) {
              cc.onChannelBuilding(cb,this);
          }
  
          Channel channel = cb.build(in,out);
          setChannel(channel,launchLog,listener);
      }