RestAdapter: Add headers paramater to ajax function