Multiple chunk parsing fix
Added unit-test for Parser::parse()
Small code cleanup
Merge pull request #14 from nafigator/chunk-fix

Multiple chunk parsing fix