stream transformer added

what is this good for? Why not pass the whole message to the function? It's not gonna deep-copy itself.. I hope :)