The UAE’s flexible and proactive legal system is helping the country tackle issues such as cybercrime while also keeping an eye on the future