basic server,client and binary protocol