MEDIUM: htx: Rework conversion from a buffer to an htx structure

Now, the function htx_from_buf() will set the buffer's length to its size
automatically. In return, the caller should call htx_to_buf() at the end to be
sure to leave the buffer hosting the HTX message in the right state. When the
caller can use the function htxbuf() to get the HTX message without any update
on the underlying buffer.
diff --git a/src/filters.c b/src/filters.c
index 2b82389..6368b20 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -930,7 +930,7 @@
 	} RESUME_FILTER_END;
 
 	if (IS_HTX_STRM(s)) {
-		struct htx *htx = htx_from_buf(&chn->buf);
+		struct htx *htx = htxbuf(&chn->buf);
 		int32_t pos;
 
 		for (pos = htx_get_head(htx); pos != -1; pos = htx_get_next(htx, pos)) {