CURL certification is missing on some server

CURL certification is missing on some server. Currently the stable version will give you back false response, but won't give any information about the problem. 

My patch contains a feature, which allows you to see the CURL error message if something went wrong
also it contains patch for the missing certification.