Fork of ipaddr for py3.2 compatibility (used by lars)