Lightweight heartbeat and ping server