Added optional callback after X-Response-Time is set

I'm using this in some code to trigger a push to analytics, to include the response time in the data.  The optional callback can be used for such operations.  I wasn't able to find a clearer way to do this.