proxy.js needs a ping function