[MINOR]: stats: add show-legends to report additional informations

Supported informations, available via "tr/td title":
  - cap: capabilities (proxy)
  - mode: one of tcp, http or health (proxy)
  - id: SNMP ID (proxy, socket, server)
  - IP (socket, server)
  - cookie (backend, server)
diff --git a/include/common/uri_auth.h b/include/common/uri_auth.h
index 3a7fd9c..64f818b 100644
--- a/include/common/uri_auth.h
+++ b/include/common/uri_auth.h
@@ -34,6 +34,7 @@
 #define	ST_HIDEVER	0x00000001	/* do not report the version and reldate */
 #define	ST_SHNODE	0x00000002	/* show node name */
 #define	ST_SHDESC	0x00000004	/* show description */
+#define ST_SHLGNDS	0x0000008	/* show legends */
 
 /* later we may link them to support multiple URI matching */
 struct uri_auth {
diff --git a/include/proto/backend.h b/include/proto/backend.h
index 7a248da..a6f1c9f 100644
--- a/include/proto/backend.h
+++ b/include/proto/backend.h
@@ -34,6 +34,7 @@
 int assign_server_and_queue(struct session *s);
 int connect_server(struct session *s);
 int srv_redispatch_connect(struct session *t);
+const char *backend_lb_algo_str(int algo);
 int backend_parse_balance(const char **args, char *err,
 			  int errlen, struct proxy *curproxy);