Merge pull request #21 from kevgo/master

Correctly treats "http://localhost" as a URL.