Mexico City has extremely affordable and good quality fibre internet in central areas (where you would want to live anyway), and the food options are amazing. It's as safe as long as you stay aware of your surroundings and use a taxi service. Many parts of Mexico are safe to travel, especially in high tourism areas. I assume the property would be in the Condesa or Roma area. You'll see americans and europeans walking around everywhere and feel quite at home.