1. Always use file modtime, and if that's not usable then default to current time. 2. Allow HTTP_TIMEOUT to be set as an environment variable to override default. 3. Handle SIGTERM.
Jordan's ftpio library. Submitted by: jmz, jkh, jmacd (three-j!)