Add parser support for IPv4 netmasks.