REST-25. Remove the dependency on the host:port when checking for the process.

Remove the dependency on the host:port when checking for whether or not the
process is up and instead check the pid itself.

reviewer: lsheng