Getallheaders fpm 5.6

For @remicollet, mostly :)

To follow up on #904, since the 5.5 branch can't have tests on fpm.

You only need to `git cherry-pick 635be30` after merging #904 into PHP-5.5 and merging it upwards.