Added SSL certificate validation if https API call is used
fixed spacing around ssl verify code
Merge pull request #14 from shennys/ssl-cert-validation

Added SSL certificate validation if https API is used