Fixes sending of messages of size 2048.

Fix for https://app.asana.com/0/8062365496945/8434479747778