Example code for using TLS in Golang with your own PKI