add socket.io server for metadata