Allow to pass header params to xmlhttprequest