add client message encoder and decoder
happy pass for message format length+contend, both on sever and client