code: public function getHostLine()
      {
          $host = 'Host: ' . $this->proxy->getHost();
          $port = $this->proxy->getPort() ? $this->proxy->getPort() : 8080;
  
          return "$host:$port";
      }
docs: Creates the host part of the request.
  
  @param SimpleUrl $url   URL as object.
  
  @return string          Host line content.