Added sendXcapRequest method.
Manually merged from ims branch.
Compatible with server 374.