Fix bug with valid hostnames with dashes. I added underscores even though they aren't valid just for good measure
Merge pull request #4 from LocSol/pull-req-0

Fix bug with valid hostnames with dashes. 

I added underscores even though they aren't valid just for good measure