client host now is dynamic (extracting from url)