add NetInterface which can get network interfaces such as addresses.

This may wokrs all of the platform.