Added possibility to download and import certificate-chain based on a hostname.