fix tls handling for newest version of docker
Merge pull request #1 from tongueroo/master

fix tls handling for newest version of docker