lots more fixes to URL-parsing, with more tests
v0.1.2