apache plugin: Fix the signature of the curl callback function.