Only log client|server error responses as errors

Now also redirects (301, 302) get logged as errors, they are not.

Linked to issue #333.