more rigid check for Netmask.constructor
Merge pull request #13 from yorkie/master

more rigid check for Netmask.constructor