code: func NewWSAcceptor(addr string, certs ...string) *WSAcceptor {
  	keyFile := ""
  	certFile := ""
  	if len(certs) != 2 && len(certs) != 0 {
  		panic(constants.ErrInvalidCertificates)
  	} else if len(certs) == 2 {
  		certFile = certs[0]
  		keyFile = certs[1]
  	}
  
  	w := &WSAcceptor{
  		addr:     addr,
  		connChan: make(chan net.Conn),
  		certFile: certFile,
  		keyFile:  keyFile,
  	}
  	return w
  }
docs: // NewWSAcceptor returns a new instance of WSAcceptor