support apache proxying on HTTP_X_FORWARDED_HOST