[MINOR] move some flags from session.h to proto_http.h

Some session flags were clearly related to HTTP transactions.
A new 'flags' field has been added to http_txn, and the
associated flags moved to proto_http.h.
diff --git a/src/backend.c b/src/backend.c
index 68f2925..0918a0b 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -639,10 +639,7 @@
 
 	t->flags &= ~(SN_DIRECT | SN_ASSIGNED | SN_ADDR_SET);
 	t->srv = NULL; /* it's left to the dispatcher to choose a server */
-	if ((t->flags & SN_CK_MASK) == SN_CK_VALID) {
-		t->flags &= ~SN_CK_MASK;
-		t->flags |= SN_CK_DOWN;
-	}
+	http_flush_cookie_flags(&t->txn);
 	return 0;
 }