fixed some issues and addet a Clienttestclass

Client - sending works, reciving not
Server - untested