Added ping handler