Add http error responses.

Signed-off-by: Michael Elsdörfer <michael@elsdoerfer.com> (github: miracle2k)