CURL Extension with progress function callback patches for php 5.2.x