android: Add class to manage a set of IP address ranges/subnets