MINOR: protocols: add a new protocol type selector

The protocol selection is currently performed based on the family,
control type and socket type. But this is often not enough, as both
only provide DGRAM or STREAM, leaving few variants. Protocols like
SCTP for example might be indistinguishable from TCP here. Same goes
for TCP extensions like MPTCP.

This commit introduces a new enum proto_type that is placed in each
and every protocol definition, that will usually more or less match
the sock_type, but being an enum, will support additional values.
diff --git a/src/proto_udp.c b/src/proto_udp.c
index c5ecfac..d2849c0 100644
--- a/src/proto_udp.c
+++ b/src/proto_udp.c
@@ -67,6 +67,7 @@
 	.fam            = &proto_fam_inet4,
 
 	/* socket layer */
+	.proto_type     = PROTO_TYPE_DGRAM,
 	.sock_type      = SOCK_DGRAM,
 	.sock_prot      = IPPROTO_UDP,
 	.rx_enable      = sock_enable,
@@ -100,6 +101,7 @@
 	.fam            = &proto_fam_inet6,
 
 	/* socket layer */
+	.proto_type     = PROTO_TYPE_DGRAM,
 	.sock_type      = SOCK_DGRAM,
 	.sock_prot      = IPPROTO_UDP,
 	.rx_enable      = sock_enable,