added ping pong mode
using theirs
added Ping Pong mode on top of the web server mode