use ipaddr as a fallback for old pythons