add content length header for couchdb running behind nginx, and show appropriate error messages when response sends connection close header, closes #226
add content length header for couchdb running behind nginx, and show appropriate error messages when response sends connection close header, closes #226

kanso/underscore,kanso/underscore