Uninstalling Avast! (from the Avast menu) and reinstalling it (using the latest version) will likely fix this problem, I think it has to do with Avast! certificates being used for the SSL connections (reinstalling regenerates them).