it works ... missing: encode message len and  deconding not working right