I had a case like this, where it WAS a malicious trojan kicking me out.
Just run Virus Scans, Keep Firewall up, And you should be ok.
It still does it for me everynow and then, even tho i reformatted the other day So it doesn mean your computer is Infected, im just saying there is a chance.
Counter-Strike: Source Mainly does it when im joining a server.