[WFLY-3970] only send stop operation if the server is started
[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.
Merge pull request #240 from emuckenhuber/WFLY-3970

[WFLY-3970] only send stop operation if the server is started
Merge pull request #241 from darranl/WFCORE-163

[WFCORE-163] Where the '=' character is included in a username only the first occurance is escaped.