ssl support added to the rest library

This fork adds ssl support to the rest library by adding the variable ssl_verify_peer to indicate whether one wants certificate verification and the ssl_cainfo variable that will hold the path to the certificate file.