Fixed http getting chunks correctly