Implemented breaking messeges into smaller buffers to send.