rpc - we need to export ServerCodec type so that we have access to embedded encoder/decoder