Explicitly override the hostname to use for the TLS SNI server name.
If neither the {@link ProtonClientOptions#setVirtualHost(String) virtualhost} or SNI server name is explicitly
overridden, the hostname specified in {@link ProtonClient#connect} will be used, with SNI performed implicitly
where a FQDN was specified.
This method should typically only be needed to set different values for the virtual hostname and SNI server name.
@param sniServerName hostname to set as SNI server name
@return current ProtonClientOptions instance
Explicitly override the hostname to use for the TLS SNI server name.
If neither the {@link ProtonClientOptions#setVirtualHost(String) virtualhost} or SNI server name is explicitly overridden, the hostname specified in {@link ProtonClient#connect} will be used, with SNI performed implicitly where a FQDN was specified.
This method should typically only be needed to set different values for the virtual hostname and SNI server name.
@param sniServerName hostname to set as SNI server name @return current ProtonClientOptions instance