Updated category postprocessing module to support tcp chunking correctly