adding socketClient python code