Add TLS 1.1 and TLS 1.2 to OpenSSL bindings.

This is a silly patch to add preliminary support for TLS 1.1 and TLS 1.2 which unlocks some newer algorithms.

More work is needed in order to have PFS compatible cipher suites (such as DHE and ECDHE).