code: public ChannelFuture handshake(Channel channel) {
          if (channel == null) {
              throw new NullPointerException("channel");
          }
          return handshake(channel, channel.newPromise());
      }
docs: Begins the opening handshake
  
  @param channel
  Channel