Fix ESI detection for message block

The message block will never correctly detect the Request to be an ESI request, since is_subclass_of() does not include the _actual_ class name, but only the parent classes. is_a() should be used instead.