added doc.go file to authd
added minimal TLS support