Replace raw messages with asynchronous sendMessage().