Use ProtocolConstants in server ping test