Ensure response is initialized before messages received
- #1975
Code review fixes
- #1975