change SSLContext to use less awful ssl lib