In getHost, load $this->host if empty.

Change-Id: I5c148d848b87d92d514d7d5ab9ec9626904d1c51