Fix #539

TErrorHandler: let THttpResponse handle http status codes