Implemented the streamstats command.

Let me know if I missed anything.