use generic ipaddress functions; import __future__ stuff