get http request host correctly