func NewClient(conn io.ReadWriteCloser) *rpc.Client {
	return rpc.NewClientWithCodec(NewClientCodec(conn))
}
NewClient returns a new rpc.Client to handle requests to the set of
services at the other end of the connection.
package msgpackrpc
import (
	"io"
	"net"
	"net/rpc"
)
func Dial(network, address string) (*rpc.Client, error) {
	conn, err := net.Dial(network, address)
	if err != nil {
		return nil, err
	}
	return NewClient(conn), err
}