Remove unused code from HttpErrorRecorder

Besides, Wrap HttpError related classes into HttpErrorProtocol