Handle ping request