interfaceTLSUpgradeOptionsinterface TLSUpgradeOptions<Data>data?: Datasocket: SocketHandler<Data>tls: boolean | TLSOptions