Wrote code to implement a heartbeat check between the aIRChat server and the clients