Implement net_sys on OS X