#15 used socket.makefile to transport pickled objects