RM3889
- add tests for conversion of cidr to offset, length
- make conversion more pythonic
paired with cerberus