Http errors class for use with express.js, inspired from restify