Cast InetAddress to Inet4Address or Inet6Address to call the specific static methods
Merge into master from pull request #299:
Cast InetAddress to Inet4Address or Inet6Address to call the specific static methods (https://github.com/floodlight/loxigen/pull/299)