Port of the python 3.3+ ipaddress module to 2.6 and 2.7
