SocketConnection with Python.