SocketWriter's SetBuffer() is needed.