Functions for XML requests

XMLRequest functions added for sending request and handling response