equals methods: Check with === first to optimize the case where eg. the same HttpRequest is used in multiple HttpExchanges.