Pre-allocate QByteArray size when building message to send in Controller::send.