How to download external resources on the first run



I have a game that can periodically grow with lots of downloadable content. I don’t want to keep all that data in the app, I want the user to download the resources (textures, sound, texts) that he wants to purchase.

Any idea on how can we do something like that in cocos2dx?