[WFLY-2197] Don't assume server is at 'localhost'
Merge pull request #5195 from bstansberry/WFLY-2197

[WFLY-2197] Don't assume server is at 'localhost'