Remoting JMX management protocol decisioning for wildfly and jbossas

Hi Martin, 
I've implemented very simple decisioning mechanism for recognizing old JBoss AS and new Wildfly server. Do you think it is enough or you want to have there something more sophisticated? 

We need this to be able to comfortably test rolling upgrades, where both jboss as and wildfly servers are present. If anything, let me know. I will re-try, re-implement... re-think other solution.