Added a simple cache for xhr objects in the xhr transport.