JSON RPC experiment with PHP