Add ssl options for rest connection