use http-errors
Merge pull request #4 from dead-horse/http-errors

refactor with http-errors