Allow mempool debugging if G_SLICE=always-malloc
Fix received headers parsing.