code: func (n *Node) HTTPEndpoint() string {
  	n.lock.Lock()
  	defer n.lock.Unlock()
  
  	if n.httpListener != nil {
  		return n.httpListener.Addr().String()
  	}
  	return n.httpEndpoint
  }
docs: // HTTPEndpoint retrieves the current HTTP endpoint used by the protocol stack.