client and server interacting at the basic level
complete change to idiomatic go