ZOOKEEPER-1815. Tolerate incorrectly set system hostname in tests (some one via michim)


git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1543281 13f79535-47bb-0310-9956-ffa450edef68