I'm especially puzzled since what seems to be the relevant line (40 in my BotClient) is identical to Andrew's from this page (line 42 in his BotClient). His passes and mine does not!! Further, so far as I can tell, it works -- an incoming message is printed on the console just as for the regular client. Stuck. Any help much appreciated. Addendum: Ran multiple times and worked great. Went away, came back and it won't connect the client (giving the message from Client line 30). I had changed a few things but copied files back from this page, still won't connect. Now I'm really lost. Is there some inconsistent behavior in initialization or between threads? Now it's really beyond me!