Temporarily removed "HTTP_COACH_LEG".
Added coach header.
Changed "request" to "xhr".
Calls and Recordings working on Heroku.