New API: DialJid() with to specify a resource

According to RFC3920, page 38:
If client wishes to specify the resource identifier, it sends an IQ stanza of type "set" that contains the desired resource identifier as the XML character data of a <resource/> element that is a child of the <bind/> element.