code: @Override
      public void sessionOpened(IoSession session) throws Exception {
          log.debug("Session opened");
          super.sessionOpened(session);
          // get the handshake from the session
          RTMPHandshake handshake = (RTMPHandshake) session.getAttribute(RTMPConnection.RTMP_HANDSHAKE);
          // create and send C0+C1
          IoBuffer clientRequest1 = ((OutboundHandshake) handshake).generateClientRequest1();
          session.write(clientRequest1);
      }
docs: {@inheritDoc}