func NewClient(rw io.ReadWriter) *Client {
	return &Client{
		rw:    rw,
		queue: make(map[protocol.Tag]chan protocol.Message),
	}
}
// NewClient returns a new client serving the provided ReadWriter.
NewClient returns a new client serving the provided ReadWriter.
// NewClient returns a new client serving the provided ReadWriter .
func NewClient(rw io.ReadWriter) *Client {
	return &Client{
		rw:    rw,
		queue: make(map[protocol.Tag]chan protocol.Message),
	}
}
func NewClient ( rw io . ReadWriter ) * Client { return & Client { rw : rw , queue : make ( map [ protocol . Tag ] chan protocol . Message ) , } }
NewClient returns a new client serving the provided ReadWriter.
NewClient returns a new client serving the provided ReadWriter .