[sim] = ld_stream(sim, events, in, str, insize, autoflushInterval, autoflushTimeout, bufferlen)
Creates a new stream block that is remotely controlable via TCP
It requires the set-up of a libdyn master
str - is a string of the stream name
insize is the vector length of the input port
[autoflushInterval] how often (in samples) to flush the send buffers
[autoflushTimeout] how often to flush the send buffers (time difference) (not implemented)
[bufferlen] number of samples within the ringbuffer