bugfixes, socket.io client usage