correcting bad urls
Merge pull request #1 from boneskull/master

Split url into host+path.