Expose the ability to configure the SSLContext, close #996