Tweaks to get tls working.
release 0.0.7