I haven't run it yet, but looking at the patch this looks very nice indeed! Some nice clean up of my ugly code too 
One minor question is why not use something like XMLRPC instead of socket libs to make the remote calls back and forth a bit cleaner? (Built into python, a few options for C++, but nothing wxWidgets specific, I guess). I have some experimental code for a python interpreter around that uses XMLRPC.
This one looks like it has a simple API: http://xmlrpc-c.sourceforge.net/example-code.php
ya, you look at the good point,
I implement it in short term way,
maybe json or XMLRPC is good way in future.
I would like to use json (because I am not familiar with XMLRPC ...)
I had use json to handle socket related communication, and python had good support and easy with it
On the other, I am wondering about performance of current implementation in socket,
Maybe use pipe is better!?
And... may I use the open source code(like rpdb2 or JsonCpp) directly in CB?
I am not sure the licence is okay...