changes to header function (only client and server codes got changed)

-tried to fix file transfer but failed,codes stayed the same
-added the header function to client and server for list_file. trustcloud.c stayed the same. 
-further implement needs to be done for header function of list_file