Add “error” event
Merge branch 'master' of https://github.com/aydany/node-rest-handler
Bug fix for mistake in merge
Simplifications and published new version to NPM
Not using “error” event name because NodeJS provides special (unwanted) handling for error events (they become exceptions). REST handler errors will emit “requestError” now
Minor bug fixes
Setting this.upgrade to false in the constructor, so that isClosed does
not always return false.