fix send_error delegation, fixes json_encode bad_term for method_not_allowed paths.
fix send_error delegation, fixes json_encode bad_term for method_not_allowed paths.

fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb,fkaempfer/couchdb