This adds TLS support for gopher servers supporting it and fallback to plaintext if TLS is not supported.