So you could do `$this->request->base()` / `$this->request->base('http://newbase.com/');` ?

If it's part if the CakeRequest, how will it work in CLI?