[MINOR] cfgparse: some cleanups in the consistency checks

Check for servers in health mode, for health mode in pure-backends.
Some code have been refactored for better organization.
diff --git a/include/proto/proxy.h b/include/proto/proxy.h
index 012c1b2..e56de12 100644
--- a/include/proto/proxy.h
+++ b/include/proto/proxy.h
@@ -40,6 +40,7 @@
 const char *proxy_mode_str(int mode);
 struct proxy *findproxy(const char *name, int mode, int cap);
 struct server *findserver(const struct proxy *px, const char *name);
+int proxy_cfg_ensure_no_http(struct proxy *curproxy, const char *file);
 
 /*
  * This function returns a string containing the type of the proxy in a format