Implementing writestream for scatter IO

The write stream approach is best used for serializing variable length
messages.  It avoids a managed intermediary buffer, and maintains a buffer
pool of unmanaged pages.