Change event signature for preResponse and postResponse to request, response