Adding SSL support

I have added SSL support but changed the constructor slightly to help.
To enable SSL, there is one function to call (setSSL) and it takes a CA certificate as parameter if one has been provided. If it has been provided, it will setup CURL with the certificate and if not it will turn off SSL_VERIFY_PEER to allow the connection to happen.
Feel free to review and let me know