MINOR: stats/htx: Adapt the stats applet to handle HTX messages

Switches between the HTX version of the code and the legacy one have been added
to let the stats applet work with both.
diff --git a/src/proto_htx.c b/src/proto_htx.c
index e567e0d..382df6c 100644
--- a/src/proto_htx.c
+++ b/src/proto_htx.c
@@ -589,8 +589,11 @@
 	/* Proceed with the stats now. */
 	if (unlikely(objt_applet(s->target) == &http_stats_applet) ||
 	    unlikely(objt_applet(s->target) == &http_cache_applet)) {
-		// TODO: Disabled for now, waiting to be adapted for HTX implementation
-		goto deny;
+
+		if (unlikely(objt_applet(s->target) == &http_cache_applet)) {
+			// TODO: Disabled for now, waiting to be adapted for HTX implementation
+			goto deny;
+		}
 
 		/* process the stats request now */
 		if (sess->fe == s->be) /* report it if the request was intercepted by the frontend */