debug from client to server for prototype 2