Proper conversion from and to bytes gives a basic client-server connection