Added the option of using the computer hostname

In some environments, users will not want to use a public IP for their
tentacle as they may have several machines behind one IP.
Merge pull request #1 from FrontlineTechnologies/usePublicIP

Added the option of using the computer hostname