don't throw UnknownHostException from InetAddress.getByName("0.0.0.0")

0.0.0.0 means any local interface, which is commonly used by servers
which wish to listen on all interfaces.