add socket.io to client