1. add thread with p2p server
1. add python soekct server