Added ping reply patch by Paul Chavent