proto-shell: allow passing netmask in ip address format