Added support for streaming messages to a process

Implemented #8 
These 2 are the identical. You should either just use one ``_`` clause or explicitly pattern match in the last one.