Improve NetSupport

* InetAddress instance throws ConfigException.BadValue instead of UnknownHostException
* InetSocketAddress instance accepts (hostname, port) and (addr, port)