Merge pull request #1355 from reaperhulk/fix-1352

when setting SSL and SSL_CTX options in tests get current options first