Protect against SSL zero return errors