Bad inputs (chunks > 4k) were causing empty server responses. throw a 400 instead.
Merge pull request #319 from gdusbabek/400_on_bad_decode

Handle decoding errors more gracefully.