Added support for headers in core-ajax