== JSON-RPC ==
This is designed to have to autoload calls and return a json object. It supports PHP 5.3's namespaces, and relies on PHP's built in Reflection.
Example: htttp://localhost/rpc.php?0={"method":"foo\myclass::hello","params":[], "id":2}
Returns: {"result":"Hello World","error":null,"id":2}