[MAJOR] http: fix again the forward analysers

There were still several situations leading to CLOSE_WAIT sockets
remaining there forever because some complex transitions were
obviously not caught due to the impossibility to resync changes
between the request and response FSMs.

This patch now centralizes the global transaction state and feeds
it from both request and response transitions. That way, whoever
finishes first, there will be no issue for converging to the correct
state.

Some heavy use of the new debugging function has helped a lot. Maybe
those calls could be removed after some time. First tests are very
positive.
diff --git a/include/types/proto_http.h b/include/types/proto_http.h
index c9ec7e3..18f045e 100644
--- a/include/types/proto_http.h
+++ b/include/types/proto_http.h
@@ -193,6 +193,7 @@
 #define HTTP_MSG_DONE         33 // message end received, waiting for resync or close
 #define HTTP_MSG_CLOSING      34 // shutdown_w done, not all bytes sent yet
 #define HTTP_MSG_CLOSED       35 // shutdown_w done, all bytes sent
+#define HTTP_MSG_TUNNEL       36 // tunneled data after DONE
 
 /* various data sources for the responses */
 #define DATA_SRC_NONE	0