Add tests to check ssl options are kept by a session