Allow to configure CA and insecure mode in the TLS settings for the client used in proxy mode. The target registry may be using a custom CA, and the client registry using proxy mode should be able to configure it.
Originally requested in #979 (comment).