Pandemics and networks: The case of the Mexican flu