Fix SSL connections, support ignoring certificates
Adapt .gitignore for target dirs and .iml files