Don't crash on chunked response and turbolinks

Fixes issue #114