This seems to be trying live communication with the server, but all you really need is to load a bunch of previous playthroughs and overlay them. This should make gameplay a lot smoother. Then after each death, upload a record of the keypresses and the nickname.
Or maybe I missed the point.