Make the buffer large enough to hold the max message and header structure
Add TcpWriter and updated FileWriter support for protocol buffer streams