properly parse X-Forwarded-Host in RedirectorPlugin