Allow a localhost url with port number
Allow localhost with no port
Add test for localhost with port
Merge pull request #1 from scottcorgan/master

Adds support for localhost with a port
1.0.0

* allow localhost to have a port
fix merge