Added support for streaming messages to a process

Implemented #8 
I do not know if there is any better way to manage all the possible options. If there were more than 2 possible combinations, it could be difficult to manage. I should think a little bit about it. @elbrujohalcon let me know if you have any comment