MEDIUM: tree-wide: Change sc API to specify required free space to progress

sc_need_room() now takes the required free space to receive more data as
parameter. All calls to this function are updated accordingly. For now, this
value is set but not used. When we are waiting for a buffer, 0 is used. So
we expect to be unblocked ASAP. However this must be reviewed because
SC_FL_NEED_BUF is probably enough in this case and this flag is already set
if the input buffer allocation fails.
diff --git a/src/peers.c b/src/peers.c
index 503a71f..1bbc1ca 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -1623,7 +1623,7 @@
 			/* pretend we're full so that we get back ASAP */
 			struct stconn *sc = appctx_sc(appctx);
 
-			sc_need_room(sc);
+			sc_need_room(sc, 0);
 			ret = -1;
 			break;
 		}
@@ -2652,7 +2652,7 @@
 				/* pretend we're full so that we get back ASAP */
 				struct stconn *sc = appctx_sc(appctx);
 
-				sc_need_room(sc);
+				sc_need_room(sc, 0);
 				return -1;
 			}
 		}
@@ -2925,7 +2925,7 @@
 
 	/* Check if the input buffer is available. */
 	if (sc_ib(sc)->size == 0) {
-		sc_need_room(sc);
+		sc_need_room(sc, 0);
 		goto out;
 	}