[Server] Complete rewrite of the WS in python
[Client] Some minor changes in the client for server fixes.