Working on file transfer timeout.

Almost working.
File transfer timeout working.
Support simple clients in connection requests.