Added ping functionality to Cop