Recover from firefox crashes. Improve http status detection.