How do I render a sprite that is stored remotely on a web

Hi,

I have a sprite (user profile picture) that need to be rendered on a screen. Any idea on how could I do this?

I imagine that I should use curl to download the bytes that contain the image and then manually create an sprite.

Any idea of how to do that? Thanks

I found this:
http://cocos2d-x.org/boards/6/topics/9419