@NotNull
 public static BuiltInServer start(
     @NotNull EventLoopGroup eventLoopGroup,
     boolean isEventLoopGroupOwner,
     int firstPort,
     int portsCount,
     boolean tryAnyPort,
     @Nullable NotNullProducer<ChannelHandler> handler)
     throws Exception {
   ChannelRegistrar channelRegistrar = new ChannelRegistrar();
   ServerBootstrap bootstrap = NettyUtil.nioServerBootstrap(eventLoopGroup);
   configureChildHandler(bootstrap, channelRegistrar, handler);
   int port = bind(firstPort, portsCount, tryAnyPort, bootstrap, channelRegistrar);
   return new BuiltInServer(eventLoopGroup, port, channelRegistrar, isEventLoopGroupOwner);
 }