That log, if you would allow us to see it should show the name of the process that is being intercepted by avast (ashMaiSv.exe) and then avast attempts to make the connection instead so that it can scan the traffic.