JMX Agent uses NodeInfo

Make JMX Agent use NodeInfo so that the IP address detected will be
similar to the main server (prefer IPv4 over IPv6).