add strftime from POSIX for build_response