Support URLs without brackets

Fixes #7.

Please see in-code comment before merging.

Also:

* Fix a failing unit test
* Add better position info to the assert helper