Ruby client: Move open ssl config to separate method so users can override if needed