Bug fix for "localhost" hostname being wrongly set

Also updated Redis libraries and modules.