get_proto_and_index
static vchar_t *get_proto_and_index(int, const char **, uint16_t *);
idx = get_proto_and_index(ac, av, &proto);