Working Connection between client and server