get host name from http request instead of conf