Add InetAddress -> IPv{4,6}Address methods. Fixes #12.