func (opts *SSLConfig) Available() bool {
	return opts.CertPath != "" && opts.KeyPath != ""
}
Available returns true iff certificate and private keys are set
package server
type SSLConfig struct {
	CertPath string
	KeyPath  string
}
func NewSSLConfig() SSLConfig {
	return SSLConfig{}
}