golang upgrade tcp to tls further simplified clone of https://github.com/akamensky/golang-upgrade-tcp-to-tls.git for testing on localhost.