Add write_buffer_size property and max_write_buffer_size limitation to iostream.

In the case of chat application, slow client or TCP timeout may consume very large write buffer.
To write robust application, iostream should support limiting write buffer size.