set self::HOST_DNS_OR_IPV4_OR_IPV6_OR_REGNAME as default value of  $allowed parameter

in Zend\Uri\Http::validateHost based on $validHostTypes property.