fix chunking
Merge pull request #202 from yanns/feature-#188-be-compatible-with-Play-2.2

fix chunking