the header content-length may equal to zero
fix compare number with string
Merge pull request #16 from aCayF/patch

fix and optimize
Merge pull request #9 from appwilldev/master

the header content-length may equal to zero