added hostname option
updated README
Merge pull request #1 from menzoic/feature/hostname

added hostname option