[MEDIUM] session: move the analysis bit field to the buffer

It makes more sense to store the list of analysers in the buffer
than in the session since they are precisely plugged onto one
buffer.
diff --git a/src/client.c b/src/client.c
index 8c63387..3e1272e 100644
--- a/src/client.c
+++ b/src/client.c
@@ -107,7 +107,6 @@
 		}
 
 		s->flags = 0;
-		s->analysis = 0;
 		s->term_trace = 0;
 
 		/* if this session comes from a known monitoring system, we want to ignore
@@ -168,12 +167,6 @@
 			s->flags |= SN_BE_ASSIGNED;
 		}
 
-		if (p->mode == PR_MODE_HTTP)
-			s->analysis |= AN_REQ_HTTP_HDR;
-
-		if (s->fe->tcp_req.inspect_delay)
-			s->analysis |= AN_REQ_INSPECT;
-
 		s->cli_state = CL_STDATA;
 		s->srv_state = SV_STIDLE;
 		s->req = s->rep = NULL; /* will be allocated later */
@@ -336,7 +329,13 @@
 		if (p->mode == PR_MODE_HTTP) /* reserve some space for header rewriting */
 			s->req->rlim -= MAXREWRITE;
 
-		if (!(s->analysis & AN_REQ_ANY))
+		if (s->fe->tcp_req.inspect_delay)
+			s->req->analysers |= AN_REQ_INSPECT;
+
+		if (p->mode == PR_MODE_HTTP)
+			s->req->analysers |= AN_REQ_HTTP_HDR;
+
+		if (!s->req->analysers)
 			s->req->flags |= BF_MAY_FORWARD;  /* don't wait to establish connection */
 
 		s->req->rto = s->fe->timeout.client;