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