Setting SSL/TLS options in client code?