Wrap decompression in a try/catch, report 400

COUCHDB-154