add python client for protocol test