Started implementing periodic stats sending in TCP server.