make the write buffer size configurable
code review tweakz
Merge pull request #3 from tyro89/configurable_buffer_size

make the write buffer size configurable