Fix env for rack application

Fix env passed in rack application.
It's tested by Rack::Lint
After define new variable, and don't use env['Host'] or parsed_url.hostname directly.
Maybe variable name is not so good.