working version of the server : can get and put !