Openfire previously would respond to all incoming domains with the IM domain, this patch examines and validates the "to" attribute on inbound streams and responds accordingly.