i send to talk.google.com with a initial stanza like:
<?xml version='1.0'?>
<stream:stream
from='[email protected]'
to='gmail.com'
version='1.0'
xml:lang='en'
xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'>
and as the rfc6120 said, server should response with a stanza that has tag named "stream:features"
but I've tried a lot of time but the response rarely contained the "stream:features" so I have to make a circulation waiting for a response which contains a "stream:features".