Add support for ping requests.