Initial commit, add adapt to the JSON RPC 2.0 spec.