Added support for Statistic request/reply and unittests