Use 'tls' in place of 'ssl' in all the examples.