revert previous commit
make port index for mqWorker a configurable parameter
discover queryPort when using mesos applications