Merge curl_easy_getinfo wrapper provided by Bram de Jong
Add xferinfo callback support
Add version-independent progress callback method
Fix crash when socket_action requested the socket to be closed and called monitor_socket afterwards
Fix crash caused by invalid pending_*_op values