ok for the third point, grabbing the content-lenght is a good reason.

sending you a pm then, i already know much about the curl lib and the manual but dont get you about the stream...