Added -T option for immitating tee

Adds an option for the producer to emit sent messages to
stdout, thus emulating tee.