Added NewProtobufCodec() and Register() in codec.go.