More relaxed with URLs that omit a path, closes #168

The following URLs are now considered valid:
- http://foobar.com?foo=bar
- http://foobar.com#foo