fix contains method for netmasks
Merge pull request #18 from runk/fix-contains-for-nets

fix contains method for netmasks