added rct support on server with socket.io