Make basic URL parser return url

Fixes #10