Ruby client: Move open ssl config to separate method so users can overri...

...de if needed