Revert "avoid TLS v1.2 setting, 4.0.4 and below doesn't have v1.2"

This reverts commit d6dbfed41983154b6be8751bdc1470c341b46557.
use getSupportedSSLParameters from SSLContext for API >= 9