support BSD systems by using netifaces

The network part of the system works on bsd systems that don't support SIOCGIFCONF (and windows according to netifaces)