Change SetTLSConfig to exported RegisterTLSConfig and add documentation