A JavaScript 'class' for representing an IP subnet.