Apply patch from @nervuri:matrix.org to stop supporting out of spec versions of TLS