Fix curl plugin in stable branch and re-enable it in config file. Ticket #3979
Also add version history for curl fix. Ticket #3979