MINOR: http-htx: Add functions to read a raw error file and convert it in HTX

http_parse_errorfile() may now be used to parse a raw HTTP message from a
file. A status code is passed as parameter. It must be one of the supported HTTP
error codes to be valid. Otherwise an error is returned. It aims to be used to
parse "errorfile" directives. It relies on http_load_errorfile() to do most of
the job, ie reading the file content and converting it in HTX.
diff --git a/include/proto/http_htx.h b/include/proto/http_htx.h
index 26df97f..8bf1b99 100644
--- a/include/proto/http_htx.h
+++ b/include/proto/http_htx.h
@@ -49,4 +49,7 @@
 			       int occ, struct http_hdr_ctx *ctx, char **vptr, size_t *vlen);
 int http_str_to_htx(struct buffer *buf, struct ist raw);
 
+int http_load_errorfile(const char *file, struct buffer *buf, char **errmsg);
+int http_parse_errorfile(int status, const char *file, struct buffer *buf, char **errmsg);
+
 #endif /* _PROTO_HTTP_HTX_H */