Adds new response types for messaging and handles timeout and cancellation errors.