It usre looks like Kerio is the problem here. Make sure you have it configured correctly for Avast. Check Kerio’s log file to see what part of Avast is blocked and give it permission. This should solve the problem.