[desktop] requests should only set tls hostname if supported
The ssl SNI allows a request to set the expected hostname
as part of the SSL handshake, but SUSE11 doesn't support this
mechanism. As a workaround, this patch checks if the method
`set_tlsext_host_name` was enabled, and only uses it if it
was compiled into PyOpenSSL.