public function is_scheme_supported(h\string $scheme) { return in_array($scheme->to_lower(), array('http', 'https')); }