Pull request for Issue #40 - use InetAddress.getByName(String host) as well