code: public function setCookie($name, $value, $host = false, $path = '/', $expiry = false)
      {
          $this->cookie_jar->setCookie($name, $value, $host, $path, $expiry);
      }
docs: Sets an additional cookie. If a cookie has the same name and path it is replaced.
  
  @param string $name            Cookie key.
  @param string $value           Value of cookie.
  @param string $host            Host upon which the cookie is valid.
  @param string $path            Cookie path if not host wide.
  @param string $expiry          Expiry date.