move inet{.c,.h} from libdnds to dnd