[EJBCLIENT-77] Fix XID decoding problem

The original XID encoding was just plain wrong.