Replaced request.host by request.headers["Host"] in redirect_requests.py

I guess the use-case is to redirect traffic from a host in the url but currently we do check for internal host (which is mainly the ip)