func (s *serverCodec) Write(p []byte) (n int, err error) {
	return s.w.Write(p)
}
Write implements the io.ReadWriteCloser Write method.
package jsonrpc
import (
	"io"
	"net/http"
	"net/rpc"
	"net/rpc/jsonrpc"
)
type serverCodec struct {
	r io.ReadCloser  
	w io.Writer      
}
func (s *serverCodec) Read(p []byte) (n int, err error) {
	return s.r.Read(p)
}