Revert "server, client char->byte"

This reverts commit 0a5117b251f087a00f546cb439d9976d6d934cae.
Revert "Revert "server, client char->byte""

This reverts commit 8d6197ab7f376be5dbb86f8d87f44c205c77fb1f.