Url parse issue

Fixes issues in #108, needs Kevin's PR that fixes string.split regex issue #109.