Provides an OS-independent way of shutting down JBoss. This
works by accessing the JMX server and giving it the shutdown
command. The host to the JMX server can be passed in as well
as the port number. If neither is supplied, the defaults of
localhost and 8082 are used.