Changes to support untrusted SSL connections for gadgets.

This allows gadget XMLs and proxied requests to be fetched over HTTPS
even if the certificate the server is using is not trusted by the JVM. 
By default this is not enabled, but containers can enable it on a
container by container basis.