added support for external properties and load from https with broken certificates