null check is not needed - `instanceof` returns false if the LHS is `null`.

We should also add a test (doesn't need to be real JMX, just a proxied channel).

I can take care of both during the merge if you like; I am sure you don't want your "last" contribution to be a test case :smile: