finished porting client.py to the new protocol
send protocol version in net order