set :headers option set by TD_API_HEADERS environment variable to client