miscellaneous fixes
add NetFd instane.

The NetFD instance is the base of all socket connections