[BUG] increment server connections for each connect()

It was abnormal to see more connect errors than connect attempts.
This was caused by the fact that the server's connection count was
not incremented for failed connect() attempts.

Now the per-server connections are correctly incremented for each
connect() attempt. This includes the retries too. The number of
connections effectively served by a server will then be :

   srv->cum_sess - srv->errors - srv->warnings

diff --git a/src/backend.c b/src/backend.c
index 6ba3937..23c619c 100644
--- a/src/backend.c
+++ b/src/backend.c
@@ -1357,6 +1357,8 @@
 		srv_close_with_err(t, conn_err, SN_FINST_C,
 				   503, error_message(t, HTTP_ERR_503));
 		if (t->srv)
+			t->srv->cum_sess++;
+		if (t->srv)
 			t->srv->failed_conns++;
 		t->be->failed_conns++;
 
@@ -1392,6 +1394,8 @@
 		case SN_ERR_NONE:
 			//fprintf(stderr,"0: c=%d, s=%d\n", c, s);
 			t->srv_state = SV_STCONN;
+			if (t->srv)
+				t->srv->cum_sess++;
 			return 1;
 	    
 		case SN_ERR_INTERNAL:
@@ -1399,6 +1403,8 @@
 			srv_close_with_err(t, SN_ERR_INTERNAL, SN_FINST_C,
 					   500, error_message(t, HTTP_ERR_500));
 			if (t->srv)
+				t->srv->cum_sess++;
+			if (t->srv)
 				t->srv->failed_conns++;
 			t->be->failed_conns++;
 			/* release other sessions waiting for this server */
@@ -1420,6 +1426,8 @@
 		task_wakeup(t->srv->queue_mgt);
 
 	if (t->srv)
+		t->srv->cum_sess++;
+	if (t->srv)
 		t->srv->failed_conns++;
 	t->be->redispatches++;
 
@@ -1456,6 +1464,8 @@
 		srv_close_with_err(t, SN_ERR_SRVTO, SN_FINST_C,
 				   503, error_message(t, HTTP_ERR_503));
 		if (t->srv)
+			t->srv->cum_sess++;
+		if (t->srv)
 			t->srv->failed_conns++;
 		t->be->failed_conns++;
 
@@ -1476,6 +1486,8 @@
 		srv_close_with_err(t, SN_ERR_INTERNAL, SN_FINST_C,
 				   500, error_message(t, HTTP_ERR_500));
 		if (t->srv)
+			t->srv->cum_sess++;
+		if (t->srv)
 			t->srv->failed_conns++;
 		t->be->failed_conns++;