retrieve server url and port from location variable
Merge pull request #26 from tl-its-umich-edu/TSUGITXT-28

retrieve server url and port from location variable