immigrant from my original project http://code.google.com/p/pyp2p