Cleanup in the RPC mechanism for forwards compatibility + a bunch more unit tests
Merge pull request #136 from erikbern/rpc-cleanup

Cleanup in the RPC mechanism for forwards compatibility + a bunch more u...