make it easier to use netifd-proto.sh as a library