Support circular references
Initial XML-RPC support
Fix encoding/decoding of empty payload
Add legacy API