API to pass a server certificate when cloning.
More compact code, no need for local vars.
Merge pull request #430 from jaanus/specify-server-certificate

Option to pass a trusted server certificate when cloning