Using proper clientside socket.io lib