To use TLS 1.1 and 1.2, the minimum OpenSSL version is 1.0.1.

Fix issue #1119