Set default method based on what is exposed in SSL

Fixes #376 (CLIENTS-45) (CLIENTS-45) [CLIENTS-45]

TLSv1_2_METHOD was unsafe in the initializer of SecurityCreds. If the
imported SSL library doesn't have it, this would cause a crash even if
SSL/TLS wasn't being used.