bugfix: correctly defining http_category() function.

Previous implementation was defining a non publicly declared function,
out_of_order_category().