Attempt to prevent sun.security.validator.ValidatorException when reporting errors through https to app.getsentry.com