::TlsV1 is deprecated but according to the docs it is equivalent to TlsV1_0. Fixes the compile for me.