A few leaks fixed
last leaks with libcurl?
curl global init/cleanup in broker main
left a few calls to curl_global_cleanup
Merge pull request #483 from telefonicaid/hardening/leaks_in_14_1

A few leaks fixed