I'm sorry to reiterate the question about google talk, but I am not getting this to work while I can use a normal xmpp service without problems.
I connect and use the standard example to send a message. I get after the login then it hangs.
The same code with a connect to another jabber service works without problems.
I am seeing the same issue with xmpphp, so there is probably something missing for the google protocol, but I don't know what.