/**
  * @param string $url
  * @return HttpRequest
  **/
 protected function buildRequest($url)
 {
     ServerVarUtils::build($_SERVER, $url);
     return HttpRequest::create()->setServer($_SERVER);
 }
 /**
  * @param string $host
  * @return HttpRequest
  **/
 protected function buildRequest($host, $schema = 'http')
 {
     ServerVarUtils::build($_SERVER, $schema . '://' . $host);
     return HttpRequest::create()->setServer($_SERVER);
 }