Well, the Windows firewall doesn't have outbound protection enabled by default, so unless you enabled it, that shouldn't be the problem.
Whilst resetting the winsock/tcp is a good idea I'm not sure that would have been the problem if it were I wouldn't have expected you to be able to connect to https sites either if it were corrupt/broken.
Are you using any sort of proxy to connect to the Internet ?
- also see Cause for apparent Web Shield blocking internet connection,
http://forum.avast.com/index.php?topic=57443.0.
Having used system restore that may also have brought unexpected results, I have never had much confidence in it.
So if none of the above apply it may be best to do a reinstall of avast and possibly a clean reinstall having used system restore.
- Download the latest version of avast, 5.1.889
http://files.avast.com/iavs5x/setup_av_free_eng.exe (English only) and save it to your HDD, somewhere you can find it again (if you didn't save your last download). Use that when you reinstall.
- Download the avast! Uninstall Utility, aswClear5.exe
find it here and save it to your HDD (it has uninstall tools for both 4.8 and 5.x).
- 1. Now uninstall avast! (using add remove programs, if you can't do that start from the next step), reboot.
- 2. run the avast! Uninstall Utility from safe mode, first for 4.8 if previously installed and then for 5.x, once complete reboot into normal mode.
- 3. install the latest version, reboot.
That's me for the night 3:45am here.