added function for ip addr validation and tun class
Merge branch 'master' of https://github.com/stepanstipl/puppet-stunnel