Add basic implementation of socket.io