Wrote protocol for Statistics messages