Add inet support

It's lossy ATM, since IpAddr doesn't store the netmask.

Closes #88