renaming client to sender, changed name of argument structure passing to server thread
renaming client to sender