first very rough draft network interace enumation code (for posix for now)