code: public ChannelFuture bind() {
          validate();
          SocketAddress localAddress = this.localAddress;
          if (localAddress == null) {
              throw new IllegalStateException("localAddress not set");
          }
          return doBind(localAddress);
      }
docs: Create a new {@link Channel} and bind it.