Fix headers issue on node 0.10.16 and above