Add a rather procedural implementation of client and server with support for large JSON
Curried version