Updated hawklib.py with cidrtoregex