public function addProtocol(Protocol $protocol)
 {
     if (isset(self::$protocols[$protocol->getScheme()])) {
         if ($protocol !== self::$protocols[$protocol->getScheme()]) {
             $this->unregister(self::$protocols[$protocol->getScheme()]);
         }
     }
     $this->register(self::$protocols[$protocol->getScheme()] = $protocol);
 }
 public function __construct($scheme, $reach)
 {
     $scheme = str_replace('://', '', $scheme) . '://';
     parent::__construct($scheme, $reach);
 }