avoid certificate errors for HTTPS endpoints

Otherwise API calls will fail with

    DiscourseApi::Error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed