Modified generator to handle windowless requests by accepting a optional parameter host.