/**
  * Assemble a base path for this page request.
  * For whatever reason, php doesn't include this concept natively.
  *
  * @return string
  */
 public function render()
 {
     $return = $this->http_request->getUriForPath('/');
     if (!is_null($this->scheme)) {
         $return = $this->scheme . substr($return, strpos($return, ':'));
     }
     $this->scheme = null;
     return $return;
 }