PHP classes and scripts to manage IPv4/IPv6 subnet tracking