[HORNETQ-1381][2.4.x] creates HornetQ threads under a security manager

in a privileged block

JIRA: https://issues.jboss.org/browse/HORNETQ-1381