Add http error responses.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com> (github: miracle2k)
Merge pull request #5 from miracle2k/errors

Add http error responses.