Dar 1532: changing wiki name is breaking chat module

The problem is that request module does not handle redirects for POST requests - which are used to send info for chat module. So in case of redirect I'm updating the wiki hostname in redis and re-posting the data.