Added performance timer.

Changed returning pointers to returning references.
Added simple performance test. (50-100k messages/s)
Stream is selected by additional command, not passed as a parameter.