hopefully less naïve network address code

at this point, crashes in ipaddr() and ponyprint() should be fixed!