function intercepts headers for Http Client AJAX requests.
Map<String, String> headersInterceptor(Map<String, String> headers);