Add support to set the hostname
Merge pull request #22 from shadeslayer/master

Add support to set the hostname