client server proper messaging