BUG/MAJOR: lua: applets can't sleep.

This patch must be backported in 1.6

hlua_yield() function returns the required sleep time. The Lua core must
be resume the execution after the required time. The core dedicated to
the http and tcp applet doesn't implement the wake up function. It is a
miss.

This patch fix this.
diff --git a/src/hlua.c b/src/hlua.c
index f1c937a..fe58b9d 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -5747,6 +5747,8 @@
 
 	/* yield. */
 	case HLUA_E_AGAIN:
+		if (hlua->wake_time != TICK_ETERNITY)
+			task_schedule(ctx->ctx.hlua_apptcp.task, hlua->wake_time);
 		return;
 
 	/* finished with error. */
@@ -5970,6 +5972,8 @@
 
 		/* yield. */
 		case HLUA_E_AGAIN:
+			if (hlua->wake_time != TICK_ETERNITY)
+				task_schedule(ctx->ctx.hlua_apphttp.task, hlua->wake_time);
 			return;
 
 		/* finished with error. */