Fixed error when using different implementation of IResponse

Fixed error during exception handling when using different implementation of IResponse.

In process excpetion code access property warnOnBuffer which is not part of IResponse interface but only of it's specific implementation. Resolved by adding check for type.
I would prefer `use Nette\Http` and `instanceof Http\Response` for readability.