added ping support
updated ping request