A council has faced backlash after unveiling blanket bans for homeless people from sleeping in vans and vehicles and keeping pets in public spaces.