My favorite rack middleware in one package.
1) HTTP\_HOST: Unreliable because it is sent by client. Use SERVER\_NAME
HTTP\_HOST
SERVER\_NAME