make DummyResponse behave like treq expects