Changed the way clients communicate with server.