Add more functionality client-sde
Add debug messages to sockets.js temporarily