Add 'listen' support for puppet agent