Added stats protocol for the server.
Merge pull request #24 from raistlinthewiz/develop

Added stats protocol for the server.