Fix nodejs deprecated call
With last stable nodejs version req.host is deprecated and should be replaced by req.hostname. this way provide a fallback depending on nodejs version.
With last stable nodejs version req.host is deprecated and should be replaced by req.hostname. this way provide a fallback depending on nodejs version.