build 3 - json + socket.makefile()