Use slave hostname rather than libprocess address for webui.

Review: https://reviews.apache.org/r/11813