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.