public function setProtocol($protocol)
	{
		switch ($protocol)
		{
			case self::PROTOCOL_HTTPS:
				$this->_protocol = "https";
				break;
			case self::PROTOCOL_HTTP:
				$this->_protocol = "http";
				break;
			default:
				throw new ChaincoinException("Invalid Protocol");
		}

		return $this;
	}