pass headers through on rest_send call