Fix for invalid hostname
Merge pull request #8 from Oefenweb/fix-for-invalid-hostname

Fix for invalid hostname