add support to auto resolve hostnames
Merge pull request #2 from stagecoachio/allowHostnames

add support to auto resolve hostnames