This commit adds a progress callback for use with wxWebRequestCURL objects. This has some complications because over the years curl has changed the signature of the callback. A combination of compile-time and run-time checks is used to make sure the appropriate callback and preferred return value are used.