Updating `KXMLHttpRequest` shape, fixing `utility.when()` to handle errors from `KXMLHttpRequest` instances