inline socket.io client