Bug 944249 - move the segment size and send button management to Compose

Why do we need to require both real and mock utils at the same time?