[MEDIUM] moved uri_auth check to a separate function

The check of uri_auth is now in a separate function which is
checked after every backend switch, so that it will be possible
to have an uri_auth for the frontend and another one for the
backend.
diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h
index beffcfe..aee364c 100644
--- a/include/proto/proto_http.h
+++ b/include/proto/proto_http.h
@@ -50,6 +50,8 @@
 void get_srv_from_appsession(struct session *t, const char *begin, const char *end);
 void apply_filters_to_session(struct session *t, struct buffer *req, struct hdr_exp *exp);
 void manage_client_side_cookies(struct session *t, struct buffer *req);
+static http_meth_t find_http_meth(const char *str, const int len);
+int stats_check_uri_auth(struct session *t, struct proxy *backend);
 
 #endif /* _PROTO_PROTO_HTTP_H */