Made SSLContext lookup more dynamic