code: public static Red5 from(CompositeData cd) {
          Red5 instance = null;
          if (cd.containsKey("connection")) {
              Object cn = cd.get("connection");
              if (cn != null && cn instanceof IConnection) {
                  instance = new Red5((IConnection) cn);
              } else {
                  instance = new Red5();
              }
          } else {
              instance = new Red5();
          }
          return instance;
      }
docs: Allows for reconstruction via CompositeData.
  
  @param cd
  composite data
  @return Red5 class instance