UDP sockets, not TCP ones. And don't forget about the bunch of MIME and Internet Message format that precedes the XML. (-:
The bulk of the protocol doesn't require XML at all actually, it's the SIP SIMPLE and presence extensions that do. But for the core SIP spec and your run of the mill VoIP call setup, no XML is needed.