SocketIO conversion WIP