Switched from byte[] to ResizingBuffer instances in all event queues and messaging classes. ResizingBuffer instances allocate an initial buffer of a default length, but can extend past this length by allocating an overflow buffer. Messaging classes now emit a header that specifies the length of the message they are sending.