MINOR: http-htx: Add functions to create HTX redirect message

http_parse_errorloc() may now be used to create an HTTP 302 or 303 redirect
message with a specific url passed as parameter. A parameter is used to known if
it is a 302 or a 303 redirect. 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 "errorloc" directives. It relies on
http_load_errormsg() to do most of the job, ie converting it in HTX.
diff --git a/include/proto/http_htx.h b/include/proto/http_htx.h
index 8bf1b99..0cec9db 100644
--- a/include/proto/http_htx.h
+++ b/include/proto/http_htx.h
@@ -50,6 +50,8 @@
 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_load_errormsg(const struct ist msg, struct buffer *buf, char **errmsg);
 int http_parse_errorfile(int status, const char *file, struct buffer *buf, char **errmsg);
+int http_parse_errorloc(int errloc, int status, const char *url, struct buffer *buf, char **errmsg);
 
 #endif /* _PROTO_HTTP_HTX_H */