Support TLS session resumption and set a few TLS options for improved security