http://*/                             ftp://foo.com/
http://*/                             xxx
http://foo.com/                       http://oo.com/
http://*.x.com/abc                    http://foo.x.com
http://*.x.com/abc                    http://*.x.com
http://*.com/                         http://*.com/
http://x.com/abc                      http://x.com/
http://x.com/abc                      http://x.com/a
http://x.com/abc                      http://x.com/ab
http://x.com/abc                      http://x.com/abcd
http://*.cs.uoregon.edu               http://x.uoregon.edu
http://*.foo.com                      http://bar.com
http://*.foo.com                      http://www.bar.com
http://*.bar.co.uk                    http://xxx.co.uk
https://foo.com                       http://foo.com
http://foo.com                        https://foo.com
http://foo.com:81                     http://foo.com:80
http://foo.com/?a=b                   http://foo.com/?x=y
http://foo.com/?a=b                   http://foo.com/?x=y&a=b
http://foo.com/?a=b                   http://foo.com/
http://*.oo.com/                      http://foo.com/
http://foo.com/*                      http://foo.com/anything
http://foo.com                        http://foo.com:443
https://foo.com                       https://foo.com:80
http://foo.com/path/xev               http://foo.com/path?extra=more
