Use Proxy+ of version at least 3.0.240 – it has a special plugin for avast.
You can download it here: ftp://ftp.proxyplus.cz/testversion/us/
Use either version 246 or 248. Make sure to read the readme file.
Cheers, Vlk