use actual host rather than 'localhost'
Merge pull request #3 from cglewis/patch-1

use actual host rather than 'localhost'