Use InetAddress to determine host name instead of defaulting to localhost