[PATCH 20 of 20] Headers filter: improved memory allocation error handling