Measurement techniques to understand how diversity in TLS implementations & deployments influences protocol security