Makers of small, smart home gadgets will be encouraged to do more to protect them against hack attacks