Added ping functional to proxy