protected function getPortForBuild()
	{
		if ( !$this->getPort() ) {
			return '';
		}

		$default_ports = array('http' => 80, 'https' => 443);

		if ( $this->getPort() === $default_ports[$this->getProtocol()] ) {
			return '';
		}

		return ':' . $this->getPort();
	}