Set the host of the request.
string $host Host to set (e.g. www.yahoo.com, yahoo.com):
public function setHost($host) {
if (strpos($host, ':') === false) {
$this->host = $host;
}
else {
list($host, $port) = explode(':', $host);
$this->host = $host;
$this
->setPort($port);
}
return $this;
}