REORG: include: move protocol.h to haproxy/protocol{,-t}.h

The protocol.h files are pretty low in the dependency and (sadly) used
by some files from common/. Almost nothing was changed except lifting a
few comments.
diff --git a/src/backend.c b/src/backend.c
index e5ceda9..a78aad8 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -45,7 +45,7 @@
 #include <proto/mux_pt.h>
 #include <proto/obj_type.h>
 #include <proto/payload.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/http_ana.h>
 #include <proto/proto_tcp.h>
 #include <proto/proxy.h>
diff --git a/src/cfgparse-listen.c b/src/cfgparse-listen.c
index 438accc..bd3e61e 100644
--- a/src/cfgparse-listen.c
+++ b/src/cfgparse-listen.c
@@ -24,7 +24,7 @@
 #include <proto/http_htx.h>
 #include <proto/http_rules.h>
 #include <proto/listener.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/proxy.h>
 #include <proto/server.h>
 #include <proto/stick_table.h>
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 8cdfb15..b3a66b8 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -71,7 +71,7 @@
 #include <proto/lb_map.h>
 #include <proto/listener.h>
 #include <proto/log.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/http_ana.h>
 #include <proto/proxy.h>
 #include <proto/peers.h>
diff --git a/src/checks.c b/src/checks.c
index 2b7aa8c..4a1b87f 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -59,7 +59,7 @@
 #include <proto/queue.h>
 #include <proto/port_range.h>
 #include <proto/proto_tcp.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/proxy.h>
 #include <proto/server.h>
 #include <proto/signal.h>
diff --git a/src/cli.c b/src/cli.c
index 00cf507..932af30 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -54,7 +54,7 @@
 #include <proto/log.h>
 #include <proto/pattern.h>
 #include <proto/pipe.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/listener.h>
 #include <proto/map.h>
 #include <proto/proxy.h>
diff --git a/src/haproxy.c b/src/haproxy.c
index 684ee22..4bf229c 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -121,7 +121,7 @@
 #include <proto/log.h>
 #include <proto/mworker.h>
 #include <proto/pattern.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/http_ana.h>
 #include <proto/proxy.h>
 #include <proto/queue.h>
diff --git a/src/listener.c b/src/listener.c
index 04ce4e3..2f9c800 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -26,7 +26,7 @@
 #include <haproxy/time.h>
 
 #include <types/global.h>
-#include <types/protocol.h>
+#include <haproxy/protocol-t.h>
 
 #include <proto/acl.h>
 #include <proto/connection.h>
@@ -34,7 +34,7 @@
 #include <haproxy/freq_ctr.h>
 #include <proto/log.h>
 #include <proto/listener.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/proto_sockpair.h>
 #include <proto/sample.h>
 #include <proto/stream.h>
diff --git a/src/proto_sockpair.c b/src/proto_sockpair.c
index 446d8de..dfba155 100644
--- a/src/proto_sockpair.c
+++ b/src/proto_sockpair.c
@@ -40,7 +40,7 @@
 #include <haproxy/freq_ctr.h>
 #include <proto/listener.h>
 #include <proto/log.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/task.h>
 
 static void sockpair_add_listener(struct listener *listener, int port);
diff --git a/src/proto_tcp.c b/src/proto_tcp.c
index 973a4d3..42c034e 100644
--- a/src/proto_tcp.c
+++ b/src/proto_tcp.c
@@ -49,7 +49,7 @@
 #include <proto/listener.h>
 #include <proto/log.h>
 #include <proto/port_range.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/http_ana.h>
 #include <proto/proto_tcp.h>
 #include <proto/proxy.h>
diff --git a/src/proto_uxst.c b/src/proto_uxst.c
index 99e4eff..1dce1a9 100644
--- a/src/proto_uxst.c
+++ b/src/proto_uxst.c
@@ -39,7 +39,7 @@
 #include <proto/fd.h>
 #include <proto/listener.h>
 #include <proto/log.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/task.h>
 
 static int uxst_bind_listener(struct listener *listener, char *errmsg, int errlen);
diff --git a/src/protocol.c b/src/protocol.c
index 4909ee1..defb197 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -18,7 +18,7 @@
 #include <haproxy/list.h>
 #include <common/standard.h>
 
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 
 /* List head of all registered protocols */
 static struct list protocols = LIST_HEAD_INIT(protocols);
diff --git a/src/server.c b/src/server.c
index 29919ee..6f14e5a 100644
--- a/src/server.c
+++ b/src/server.c
@@ -35,7 +35,7 @@
 #include <proto/checks.h>
 #include <proto/connection.h>
 #include <proto/port_range.h>
-#include <proto/protocol.h>
+#include <haproxy/protocol.h>
 #include <proto/queue.h>
 #include <proto/sample.h>
 #include <proto/server.h>