[MINOR] session: differenciate between accepted connections and received connections

Now we're able to reject connections very early, so we need to use a
different counter for the connections that are received and the ones
that are accepted and converted into sessions, so that the rate limits
can still apply to the accepted ones. The session rate must still be
used to compute the rate limit, so that we can reject undesired traffic
without affecting the rate.
diff --git a/include/types/counters.h b/include/types/counters.h
index 6e620e1..7a0ff1d 100644
--- a/include/types/counters.h
+++ b/include/types/counters.h
@@ -26,11 +26,12 @@
 	unsigned int feconn_max, beconn_max;	/* max # of active frontend and backend sessions */
 
 	long long cum_fe_req;			/* cumulated number of processed HTTP requests */
-	long long cum_feconn, cum_beconn;	/* cumulated number of processed sessions */
-	long long cum_lbconn;			/* cumulated number of sessions processed by load balancing */
+	long long cum_feconn, cum_fesess;	/* cumulated number of received/accepted connections */
+	long long cum_beconn, cum_lbconn;	/* cumulated number of sessions processed by load balancing */
 
 	unsigned int fe_rps_max;		/* maximum of new sessions per second seen on the frontend */
-	unsigned int fe_sps_max;		/* maximum of new sessions per second seen on the frontend */
+	unsigned int fe_cps_max;		/* maximum of new connections per second received on the frontend */
+	unsigned int fe_sps_max;		/* maximum of new sessions per second accepted on the frontend */
 	unsigned int be_sps_max;		/* maximum of new sessions per second seen on the backend */
 	unsigned int nbpend_max;		/* max number of pending connections with no server assigned yet */
 
@@ -54,7 +55,8 @@
 struct licounters {
 	unsigned int conn_max;			/* max # of active listener sessions */
 
-	long long cum_conn;			/* cumulated number of processed sessions */
+	long long cum_conn;			/* cumulated number of received connections */
+	long long cum_sess;			/* cumulated number of accepted sessions */
 
 	long long bytes_in;			/* number of bytes transferred from the client to the server */
 	long long bytes_out;			/* number of bytes transferred from the server to the client */
diff --git a/include/types/proxy.h b/include/types/proxy.h
index f7d4e8c..aab7b76 100644
--- a/include/types/proxy.h
+++ b/include/types/proxy.h
@@ -229,7 +229,8 @@
 	int totpend;				/* total number of pending connections on this instance (for stats) */
 	unsigned int feconn, beconn;		/* # of active frontend and backends sessions */
 	struct freq_ctr fe_req_per_sec;		/* HTTP requests per second on the frontend */
-	struct freq_ctr fe_sess_per_sec;	/* sessions per second on the frontend */
+	struct freq_ctr fe_conn_per_sec;	/* received connections per second on the frontend */
+	struct freq_ctr fe_sess_per_sec;	/* accepted sessions per second on the frontend (after tcp rules) */
 	struct freq_ctr be_sess_per_sec;	/* sessions per second on the backend */
 	unsigned int maxconn;			/* max # of active sessions on the frontend */
 	unsigned int fe_sps_lim;		/* limit on new sessions per second on the frontend */