Better redirect host checking