iPhoneXMPP: always use domain name as expected certificate name

iPhoneXMPP has wrong logic when doing TLS handshake - Google Talk, as any other XMPP server, always using certificate for domain name, not for peer(host) name.