code: public synchronized void doHandshake(final NextFilter nextFilter) {
          LOGGER.debug(" doHandshake()");
  
          // Send request
          writeRequest(nextFilter, request, (Integer) getSession().getAttribute(
                  HANDSHAKE_STEP));
      }
docs: Performs the handshake process.
  
  @param nextFilter the next filter