Fix of http header initialization, was wrong index