Thank you for your fast response.
I found out that the error was caused by the "proxy-issue" introduced in version 2017 R5, that was fixed with the R6 version ("Proxy: Fixed handling of IP-based host names in proxy name resolving routine (an issue introduced in previous release").
So I just updated to the latest version and now it works fine.