Curl SSL Certificate support

Add support for setting a secure certificate for ssl connections