final public function isDefaultPort($scheme, $port)
	{
		$this->_getPortKey($scheme);
		try {
			return $this->isNamedPort($scheme) and ($this->getDefaultPort($scheme) === (int)$port);
		} catch (\Exception $e) {
			echo $e. PHP_EOL;
		}
	}
final public function isDefaultPort($scheme, $port)
	{
		$this->_getPortKey($scheme);
		try {
			return $this->isNamedPort($scheme) and ($this->getDefaultPort($scheme) === (int)$port);
		} catch (\Exception $e) {
			echo $e. PHP_EOL;
		}
	}
final public function isDefaultPort ( $ scheme , $ port ) { $ this -> _getPortKey ( $ scheme ) ; try { return $ this -> isNamedPort ( $ scheme ) and ( $ this -> getDefaultPort ( $ scheme ) === ( int ) $ port ) ; } catch ( \ Exception $ e ) { echo $ e . PHP_EOL ; } }
Checks that the given scheme and port match, according to defaults

@param  string $scheme The scheme name (E.G. http)
@param  int    $port   The number to check default port against

@return bool           Whether or not given port is the default for the scheme
Checks that the given scheme and port match according to defaults