Fix Phalcon1 empty headers bug