Improved error response handling (read from error stream).