Added parameters and changed to use JSON format.
Client which works with the new server.