working version of yowsup, with improved ping to keep the server connection up