Client API file download now supports truststore. Fixes #131