Add support for Attach API to load JMX agent