func NewClient(conn net.Conn) *Client {
	return &Client{
		conn: conn,
	}
}
NewClient creates a new client object to communicate with the proxy using
the connection conn. The user should call Close() once finished with the
client object to close conn.
package client
import (
	"encoding/json"
	"errors"
	"fmt"
	"net"
	"syscall"
	"github.com/clearcontainers/proxy/api"
)
type Client struct {
	conn net.Conn
}