Fix for headers allocation

#138 was missing this
Merge pull request #139 from Asmod4n/patch-1

Fix for headers allocation