Added connection close protocol

When there are no open files, the connection closes. This is obviously
retarded, but that's the way they wanted us to do this for some reason.
Merge branch 'master' of github.com:faiq/distributedfiles
ssh connection too slow
finishes stat call from client side, ready for testing on ilabs
take away the truncate flag, because everytime you would open the file it would delete everything already in it... still need to figure out how to truncate on writes though
the server writes the file properly, but the client interprets bytes recieved as a different number
added an lseek to make sure file starts at begining again
adds an if to check if the file is empty on read
clears out memory in the buffer we'll be using
does more cleaning for an empty response, stat creation time is wrong