Use Rack::CanonicalHost.