I spent a lot of time to get rid of above error. And only some hours after I submit this question, I have got an sudden intuition while I was looking over my logfile. The text line "SYNCER: Type: use IE settings" let me taken aback. Now I changed proxy setting to direct connection (no proxy), so avast do not use IE settings..
and... oh wonder... now it works.