public function setProtocol($protocol)
	{
		switch(strtoupper($protocol))
		{
			case 'HTTP/1.0':
			case 'HTTP/1.1':
				$this->protocol = strtoupper($protocol);
			break;
			default:
				throw new \OutOfRangeException(sprintf('Unsupported protocol: "%s"', $protocol));
		}
		
		return $this;
	}