MADE:
--> Added error detection in ClientSocket