Added ability to reconnect to the server in the python client. Removed s...

...erver side sessions.