Corrected dynamic sized message packing of buffers

* For messages that use a dynamically sized field via the vector, the
dynamic size is no properly tracked and used to correctly pack all of
the fields in a message.

* The message unpack operation does not yet work properly for
dynamically sized messages.
* A method needs to be specified to allow the message to know how much
data should be associated with the dynamically sized field.