add python socket test, for communication with cpp server