added the ability to set/get headers in ajax