code: public String encode(String name, String value) {
          return encode(new DefaultCookie(name, value));
      }
docs: Encodes the specified cookie into a Cookie header value.
  
  @param name
  the cookie name
  @param value
  the cookie value
  @return a Rfc6265 style Cookie header value