Don't crash on chunked response and turbolinks

Fixes issue #114
Merge pull request #115 from romanbsd/master

Don't crash on chunked response and turbolinks