Distributed file system server and client API over TCP connection