Add basic socket.io functionality