Wrong equality check fixed.
Merge pull request #75 from kernelsauce/chunked-transfer

Wrong equality check fixed.