added stats_client, added ping test