IRC bot using WinSocks, C++