Fixing visibility on curlHeader function

I ran into an issue (#10) where PHP was refusing to call the callback function for CURL headers. Changing the visibility on the callback method fixed the issue.