add ssl opts to client