Add support for specifying the SSLContext.

This will allow us to use client-side certificates
as required by some registries.