code: public static DefaultCookie convertWisdomCookieToNettyCookie(Cookie cookie) {
          DefaultCookie nettyCookie = new DefaultCookie(cookie.name(), cookie.value());
          nettyCookie.setMaxAge(cookie.maxAge());
          // Comments are not supported anymore by netty.
          if (cookie.domain() != null) {
              nettyCookie.setDomain(cookie.domain());
          }
          if (cookie.isSecure()) {
              nettyCookie.setSecure(true);
          }
          if (cookie.path() != null) {
              nettyCookie.setPath(cookie.path());
          }
          if (cookie.isHttpOnly()) {
              nettyCookie.setHttpOnly(true);
          }
          return nettyCookie;
      }
docs: Converts the Wisdom's cookie to a Netty's cookie.
  
  @param cookie the Wisdom's cookie
  @return the Netty's cookie with the same metadata and content than the input cookie.