Allow test-code caller to specify TLS protocol