func (flcliapi *Flcliapi) Request(request []string) (reply []string, err error) {
	flcliapi.pipe.SendMessage("REQUEST", request)
	reply, err = flcliapi.pipe.RecvMessage(0)
	if err == nil {
		status := reply[0]
		reply = reply[1:]
		if status == "FAILED" {
			reply = reply[0:0]
		}
	}
	return
}
To implement the request method, the front-end object sends a message
to the back-end, specifying a command "REQUEST" and the request message:
package flcliapi
import (
	zmq "github.com/pebbe/zmq4"
	"fmt"
	"strconv"
	"time"
)
const (
	GLOBAL_TIMEOUT = 3000 * time.Millisecond
	PING_INTERVAL = 2000 * time.Millisecond
	SERVER_TTL = 6000 * time.Millisecond
)
type Flcliapi struct {
	pipe *zmq.Socket  
}
func New() (flcliapi *Flcliapi) {
	flcliapi = &Flcliapi{}
	flcliapi.pipe, _ = zmq.NewSocket(zmq.PAIR)
	flcliapi.pipe.Bind("inproc://pipe")
	go flcliapi_agent()
	return
}
func (flcliapi *Flcliapi) Connect(endpoint string) {
	flcliapi.pipe.SendMessage("CONNECT", endpoint)
	time.Sleep(100 * time.Millisecond)  
}