use request.get_host() instead of settings.STREAM_HOST