a simple php extension to implement tcp json rpc