Removed xhr.getRequestHeader as incompatible with Ti.Network.HTTPClient
Added $.ajax contentType setting