Prettier IP detection using netifaces.